package org.example.service.impl;

import org.example.domain.County;
import org.example.mapper.CountyMapper;
import org.example.service.ICountyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-12-05 23:42
 */
@Service
public class CountyServiceImpl implements ICountyService {

    @Autowired
    private CountyMapper countyMapper;
    @Override
    public List<County> findByCountyId(Long cid) {
        return countyMapper.findByCountyId(cid);
    }
}
